package cn.tedu.boyou.acticle.domain;

import cn.tedu.boyou.common.domain.BaseDomain;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter@Getter
public class Sale extends BaseDomain{

    public static final int SALE_INDEX_INDEPENDENT = 1;
    public static final int SALE_INDEX_GROUP = 2;
    public static final int SALE_INDEX_LOCAL = 1;

    private Long saleTypeId;    //旅游行程类型id
    private String saleTypeName; //旅游行程名称
    private Long saleTypeGroup; //旅游行程分组

    private Long originId;     //出发地id
    private String originName; //出发地名称

    private Long destId;        //目的地id
    private String destName;    //目的地名称

    private String headImgUrl;  //封面

    private Integer soldAmount; //已经销售的订单量
    private Integer totalAmount; //总共的订单容量

    private String title;   //标题

    private Date stateSchedule;     //出发日期

    private Date endSchedule;   //旅游结束日期

    private Long shopId;    //旅行社id
    private String shopName;    //旅行社名称

    private Long minPrice;  //订购最小价格

    private Long maxPrice; //旅游最大花费

    private Long trafficId; //旅游交通方式
    private String trafficName;     //旅游交通方式名称

    private Long hotRouteId;    //热门旅游路线id
    private String hotRouteName;    //热门旅游路线名称

    private Long funRouteId;    //游玩路线id
    private String funRouteName;    //游玩路线名称

    private Boolean promotion;  //是否促销
}